package com.pet_service.vo;

import com.pet_service.entity.PetInfo;
import com.pet_service.entity.User;
import lombok.Data;

import java.util.List;

/**
 * 用户与宠物信息封装对象
 */
@Data
public class UserWithPetsVO {
    private User user;
    private List<PetInfo> petList;

    public UserWithPetsVO(User user, List<PetInfo> petList) {
        this.user = user;
        this.petList = petList;
    }
}
